package ioc02.dao.impl;

import ioc02.dao.UserDao;
import ioc02.entity.User;

/**
 * Author：汤小洋
 * Date：2023-08-10 14:52
 * Description：<描述>
 */
public class UserDaoImpl implements UserDao {

    @Override
    public User selectByUsernameAndPassword(String username, String password) {
        System.out.println("连接数据库，进行查询操作。。。。。。。。。。。。。");
        User user = new User();
        user.setUsername(username);
        user.setPassword(password);
        return user;
    }

}
